<?php
use yii\helpers\Html;
use yii\widgets\Breadcrumbs;
use frontend\assets\AppAsset;
use yii\widgets\LinkPager;
use frontend\controllers\XiehuiController;
use common\models\fenhuiartic\Fenhuiartic;
use common\models\member\Member;
use common\models\category\Category;
use common\models\fenhuicat\Fenhuicat;

?>
<!--content-->
<style>
    .abright {
        width: 827px;
        min-height: 800px;
    }
</style>
<div class="content">
    <div class="w1113 bgd-ff mt10 mb10" style="margin-top:10px; margin-bottom:10px;">
            <span class="abwz">
                您所在的位置：<a href="<?= yii\helpers\Url::to(['/']);?>">首页</a> > <a href="<?= yii\helpers\Url::to([$cat['type'], 'id' => $cat['id']]); ?>"><?= $cat['name'];?></a>
            </span>
    </div>
    <div class="w1113 bgd-ff">
        <div class="clearFloat pl20 pr20 pt15 pb50">
            <div class="ableft floatLeft">
                <div class="ablewidt">
                    <h3 class="anh3"><?=$cat['name'];?></h3>
                    <div class="jquery-accordion-menu">
                        <ul  class="acb">
                    <?php foreach($fenhuilist as $fhl){ ?>
                            <li><a href="<?= yii\helpers\Url::to(['fenhui/list', 'id' => $fhl['id']]); ?>"><img src="<?= yii::getAlias('@web');?>/images/lefnaicon.png" /><?=$fhl['name'];?></a></li>
                    <?php } ?>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="abright floatRight">
                <div class="abrwidth">
                    <div class="clearFloat abrwidt">
                        <h3 class="xhjsh3"><font class="ttt"><?=$article['title'];?></font> <span class="xhjstime"><?= date('Y-m-d H:i:s',$article['updated_at']);?><div style="display:inline-block; float:right;" class="bdsharebuttonbox"><img class="fenx" style="float:left" src="<?= yii::getAlias('@web');?>/images/fenx.jpg" /><a href="#" class="bds_more" data-cmd="more"></a><a href="#" class="bds_weixin" data-cmd="weixin" title="分享到微信"></a></div>
<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"2","bdSize":"16"},"share":{},"image":{"viewList":["weixin"],"viewText":"分享到：","viewSize":"16"},"selectShare":{"bdContainerClass":null,"bdSelectMiniList":["weixin"]}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script></span></h3>
                        <div class="clearFloat xhp">
                          <?=$article['content'];?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--content end-->
